package server.mapper;


/**
 * @ClassName: Mapper
 * @Description: 自定义tomcat 映射类
 * @Author: wuguizhen
 * @Date: 2020/3/31 13:44
 * @Version: v1.0 文件初始创建
 */
public final class Mapper {

    private String name;

    private Host host;

    public Mapper(String name, String appBase) throws Exception{
        setName(name);
        setHost(new Host(appBase));
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Host getHost() {
        return host;
    }

    public void setHost(Host host) {
        this.host = host;
    }

}
